.PHONY:server
CFLAG=-I ../third/include
LFLAG=-L ../third/lib -lgtest -lprotobuf -pthread -lsqlite3 -lz -lmuduo_net -lmuduo_base

server:server.cc ../mqcommon/mq_prot.pb.cc ../mqcommon/mq_message.pb.cc ../third/include/muduo/prot/codec.cc
	g++  -g -std=c++11  $(CFLAG) $^ -o  $@ $(LFLAG)  
.PHONY:clean

clean:
	rm -rf data server